import request from '@/utils/request'

// 查询文案配置列表
export function listAppcopywritingconfiguration(query) {
  return request({
    url: '/system/appcopywritingconfiguration/list',
    method: 'get',
    params: query
  })
}

// 查询文案配置详细
export function getAppcopywritingconfiguration(id) {
  return request({
    url: '/system/appcopywritingconfiguration/' + id,
    method: 'get'
  })
}

// 新增文案配置
export function addAppcopywritingconfiguration(data) {
  return request({
    url: '/system/appcopywritingconfiguration',
    method: 'post',
    data: data
  })
}

// 修改文案配置
export function updateAppcopywritingconfiguration(data) {
  return request({
    url: '/system/appcopywritingconfiguration',
    method: 'put',
    data: data
  })
}

// 删除文案配置
export function delAppcopywritingconfiguration(id) {
  return request({
    url: '/system/appcopywritingconfiguration/' + id,
    method: 'delete'
  })
}
